﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using RuanGong.background.A.Classes;

namespace Table_pet.background.Classes
{
    internal class Hcontext : DbContext
    {
        public Hcontext(DbContextOptions<Hcontext> options)
        : base(options)
        {
            Database.EnsureCreated(); //自动建库建表
        }
        public DbSet<health_information> health_Information { get; set; }
        public DbSet<Local_Healthy_DataBase> local_Healthy_DataBases { get; set; }

      
    }
}
